<el-dialog title="录入客户/修改客户" v-model="editFormDialog">
<!-- <el-form :model="form"> -->
<el-form :model="editForm" v-model="editForm" :label-width="dialogLabelWidth">
  <el-row>
    <el-col :span="12">
      <el-form-item label="客户姓名" >
        <el-input v-model="editForm.name" auto-complete="off"></el-input>
      </el-form-item>
    </el-col>
    <el-col :span="12">
      <el-form-item label="客户类型" >
        <el-select v-model="editForm.type" placeholder="请选择客户类型">
          <el-option v-for="(type, key) in customerType" :label="type" :value="key"></el-option>
        </el-select>
      </el-form-item>
    </el-col>
  </el-row>
   <el-row>
    <el-col :span="12">
      <el-form-item v-model="editForm.phone" label="手机" >
        <el-input  auto-complete="off"></el-input>
      </el-form-item>
    </el-col>
    <el-col :span="12">
      <el-form-item label="性别" >
          <el-radio class="radio" v-model="editForm.sex"  label="1">男</el-radio>
          <el-radio class="radio" v-model="editForm.sex"  label="2">女</el-radio>
        </el-form-item>
      <!-- <el-form-item label="跟类型" >
        <el-select v-model="form.region" placeholder="请选择活动区域">
          <el-option label="区域一" value="shanghai"></el-option>
          <el-option label="区域二" value="beijing"></el-option>
        </el-select>
      </el-form-item> -->
    </el-col>
   </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item v-model="editForm.qq" label="QQ号" >
          <el-input  auto-complete="off"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item v-model="editForm.qq_nickname" label="QQ昵称" >
          <el-input  auto-complete="off"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item v-model="editForm.weixin" label="微信号" >
          <el-input  auto-complete="off"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item  v-model="editForm.weixin_nickname"  label="微信昵称" >
          <el-input  auto-complete="off"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="微信状态" >
          <el-radio class="radio"  label="1">未录入</el-radio>
          <el-radio class="radio"  label="2">已录入</el-radio>
          <el-radio class="radio"  label="3">不存在</el-radio>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        性别 占位
      </el-col>
    </el-row> -->
    <el-row>
      <el-col :span="12">
        <el-form-item label="省份" >
          <el-select v-model="editForm.area_province" @change="editProvinceChange" filterable placeholder="请选择">
             <el-option v-for="province in provinces" :label="province.name"  :value="province.id"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="城市" >
          <el-select v-model="editForm.area_city" :loading="selectLoading"   placeholder="请选择">
            <el-option v-for="city in cities" :label="city.name"  :value="city.id"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="股龄" >
          <el-input-number  v-model="editForm.year" :min="1" :max="100"></el-input-number>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <!-- <el-form-item label="近期收益" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item> -->
      </el-col>
    </el-row>
    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="投资风格" >
          <el-input  auto-complete="off"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="资金量" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-row> -->
    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="看盘精力" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="投资问题" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-row> -->

    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="盈利模式" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="态度" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-row> -->

    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="职业" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="软件意向" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-row> -->
    <!-- <el-row>
      <el-col :span="12">
        <el-form-item label="来源渠道/平台" >
          <el-select  placeholder="请选择">
            <el-option label="测试数据" value="区域一"></el-option>
          </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        
      </el-col>
    </el-row> -->
    <el-form-item label="备注" >
      <el-input
        v-model="editForm.remark"
        type="textarea"
        :autosize="{ minRows: 2, maxRows: 4}"
        placeholder="请输入内容"></el-input>
      </el-form-item>
  </el-form>
  <div slot="footer" class="dialog-footer">
    <include file="Common:_edit" />
  </div>
</el-dialog>